@ingState: group-vote-voting;
@list: group-vote-list;
@personlist: group-vote-personlist;

.@{ingState} {
  height: 100%;
  position: relative;
  overflow: hidden;
  &-box {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    &.hasBtn {
      bottom: @button-height;
    }
  }
  &-header {
    margin: 10 * @hd 15 * @hd;
    .@{list}-item-header-userInfo {
      .state {
        top: 10 * @hd;
      }
    }
  }
  &-theme {
    color: @color-text-paragraph;
    padding: 0 15 * @hd;
    word-break: break-word;
    &-detail {
      line-height: 20 * @hd;
      letter-spacing: -0.1px;
    }
    &-image {
      margin-top: 5 * @hd;
      & > img {
        width: 100%;
        height: 190px;
        object-fit: cover;
      } 
    }
  }
  &-container {
    color: @color-text-paragraph;
    padding-top: 10 * @hd;
    .am-list-body {
      border-bottom: none;
      div:not(:last-child) .am-list-line {
        border-bottom: none;
      }
    }
    .wm-list-page-modal {
      padding-bottom: 0;
    }
    &-endTime {
      font-size: @font-size-caption-sm;
      color: @color-text-caption;
      padding: 10 * @hd 15 * @hd 16.5 * @hd;
      // display: flex;
      // justify-content: space-between;
    }

    &-title {
      padding: 0 15 * @hd 9 * @hd;
      display: flex;
      justify-content: space-between;
    }
    &-optionItem {
      .title {
        display: flex;
        justify-content: space-between;
        .content {
          word-break: break-word;
          padding-left: 25 * @hd;
          .am-icon {
            color: @brand-primary;
            position: absolute;
            left: 0;
          }
        }
      }
      .count {
        color: @color-text-caption;
      }
      .am-progress-outer {
        .am-progress-bar {
          border-width: 1 * @hd;
        }
      }
      .images {
        margin-top: 5 * @hd;
        >img {
          width: 134 * @hd;
          height: 100 * @hd;
          margin-bottom: 3 * @hd;
          margin-right: 3 * @hd;
          object-fit: cover;
        }
      }
    }

    .@{ingState}-option {
      word-break: break-word;
      &-lable {
        word-break: break-word;
      }
      &-imgs {
        >img {
          width: 134 * @hd;
          height: 100 * @hd;
          margin-bottom: 3 * @hd;
          margin-right: 3 * @hd;
          object-fit: cover;
        }
      }
    }
  }
  &-options {
    padding-bottom: 26 * @hd;
    &-item {
      margin-top: 5 * @hd;
      .am-list-body {
        border-bottom: none;
        border-top: @border-width-sm solid @border-color-base;
        .am-list-item {
          .am-list-line {
            border-bottom: 0;
          }
        }
      }
      &-persons {
        display: inline-block;
        text-align: center;
        .am-avatar {
          width: 34 * @hd;
          height: 34 * @hd;
        }
      }
    }
  }
  .am-button {
    position: absolute;
    width: 100%;
    bottom: 0;
  }
}

.@{personlist} {
  height: 100%;
  position: relative;
  &-list {
    position: absolute;
    width: 100%;
    top: @search-bar-height + 1;
    bottom: 0;
    &-line {
      display: flex;
      &-avatar {
        flex-shrink: 1;
        margin-right: 10 * @hd;
      }
      &-box {
        width: 100%;
        >div {
          word-break: break-all;
        }
      }
      &-humaninfo, &-jobinfo {
        color: @color-text-caption;
      }
      &-humaninfo {
        &-name {
          color: @color-text-paragraph;
        }
      }
    }
  }
}